package com.woodws.fresh.square.entity.common;

public enum ErrorCodeConstants {

    SUCCESS("000000","交易成功"),
    FAILURE("999999","交易失败");

    private String errorCode;

    private String errorMessage;

    private ErrorCodeConstants(String errorCode, String errorMessage){
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}
